package com.wind.taobao.api.trade.item.rest
{
	import com.wind.taobao.core.webservice.TaobaoResponse;

	/**
	 * taobao.item.propimg.delete Response
	 * @author fxy
	 *
	 */
	public class ItemPropImgDeleteResponse extends TaobaoResponse
	{
		public var propimg_id:String; // 	 Y 	 商品属性图片ID
		public var created:String; // 	Y 	图片删除时间 时间格式：yyyy-MM-dd HH:mm:ss

		public function ItemPropImgDeleteResponse(response:TaobaoResponse=null)
		{
			super(response);
			initResults();
		}

		private function initResults():void
		{

			if (body != null && this.isSuccess)
			{
				if (this.format == "xml")
				{

				}
				else
				{
					if (body["rsp"].hasOwnProperty("propimg_id"))
						propimg_id=body["rsp"]["propimg_id"];
					if (body["rsp"].hasOwnProperty("created"))
						created=body["rsp"]["created"];
				}

			}
		}

	}
}